package top.jianx.music.enums;

import top.jianx.music.api.MusicApi;
import top.jianx.music.provider.netease.NeteaseMusicApi;

/**
 * 音乐类别枚举类
 *
 * @author Jianx <jianx70687547@gmail.com>
 * @date 2022/1/16 11:11
 * @since 1.0.0
 */
@SuppressWarnings("SpellCheckingInspection")
public enum MusicProvider {
    Netease("网易云音乐", NeteaseMusicApi.class),
//    QQ("QQ音乐", QQMusicApi.class),
//    Kugou("酷狗音乐", KugouMusicApi.class),
//    Xiami("虾米音乐", XiamiMusicApi.class),
//    Baidu("百度音乐", BaiduMusicApi.class),
//    Migu("咪咕音乐", MiguMusicApi.class),
//    Yiting("一听音乐", YitingMusicApi.class),
//    Kuwo("酷我音乐", KuwoMusicApi.class),
//    Weibo("微博音乐", WeiboMusicApi.class),
    ;

    private final Class<? extends MusicApi> musicApiClass;
    private final String providerName;

    MusicProvider(String providerName, Class<? extends MusicApi> musicApiClass) {
        this.providerName = providerName;
        this.musicApiClass = musicApiClass;
    }

    public Class<? extends MusicApi> getMusicApiClass() {
        return musicApiClass;
    }

    @Override
    public String toString() {
        return providerName;
    }

}
